<?php

use Faker\Generator as Faker;

$factory->define(App\Passengers::class, function (Faker $faker) {
    $faker = \Faker\Factory::create("zh_CN");
    return [
        'name' => $faker->name,
        'phone' => $faker->randomElement(['132','187','159']).$faker->numerify("########"),
        'address' => $faker->randomElement(["广州省","上海市"])
    ];
});
